package cn.xiuxius.embedded.dependencyscan;

import lombok.Getter;
import lombok.Setter;


@Getter
@Setter
public class FileNode {
    private final String group;
    private final String absolutePath;
    @Setter
    private boolean visited = false;
    @Setter
    private boolean processed = false;

    public FileNode(String group, String absolutePath) {
        this.group = group;
        this.absolutePath = absolutePath;
    }

    // 方便打印调试
    @Override
    public String toString() {
        return "FileNode{" +
                "group='" + group + '\'' +
                ", absolutePath='" + absolutePath + '\'' +
                ", visited=" + visited +
                ", processed=" + processed +
                '}';
    }

}
